package com.example.mybatisplus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName order_info
 */
@TableName(value ="order_info")
@Data
public class OrderInfo implements Serializable {
    /**
     * 
     */
    @TableId
    private String id;

    /**
     * 
     */
    private Integer userId;

    /**
     * 
     */
    private Integer itemId;

    /**
     * 
     */
    private Double itemPrice;

    /**
     * 
     */
    private Integer amount;

    /**
     * 
     */
    private Double orderPrice;

    /**
     * 
     */
    private Integer promoId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}